package com.ice.body.hardware.service.impl;

import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import com.ice.body.hardware.dao.DeviceIoDao;
import com.ice.body.hardware.model.DeviceIo;
import com.ice.body.hardware.service.DeviceIoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with GuoYanBin.
 * Description:io模块 serviceImpl
 * Date: 2021-12-01
 * Time: 05:28
 */
@Service
public class DeviceIoServiceImpl extends BaseServiceImpl<DeviceIo> implements DeviceIoService {
    @Resource 
    private DeviceIoDao dao;
    @Override
    public BaseDao<DeviceIo> getBaseDao() {
        return dao;
    }

    @Override
    public DeviceIo getByIp(String ip) {
        return null;
    }

    @Override
    public List<DeviceIo> getByWarehouseId(String warehouseId) {
        return dao.getByWarehouseId(warehouseId);
    }
}
